package com.xbongbong.autoconfigure.data.elasticsearch;

import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.common.lease.Releasable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;

/**
 *  移除elasticsearchTemplate
 * @author 梁鲁江
 * @since
 * @version
 */
@Configuration
public class ElasticSearchAutoConfigurationXpack  {
    @Bean
    public ElasticsearchTemplate elasticsearchTemplate(){
        return null;
    }

}
